package com.dhcc.sds.base.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 表单值域字典表
 * 
 * @ClassName: SdsQcfitemDicEntity
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-03-22 10:10:47
 */
@TableName("t_sds_ct_qcfitem_dic")
public class SdsQcfitemDicEntity extends BaseEntity<SdsQcfitemDicEntity> {
	private static final long serialVersionUID = 1L;
	
	//项目
	private Long formItemId;
	//代码
	private String code;
	//描述
	private String desc;
	//序号
	private Integer indNo;
	//是否有效
	private Integer isActive;	
	//是否默认
	private Integer isDefault;
	//关键词
	private String keyword;
	//匹配规则
	private String matchRule;
	//更新时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateDate;
	//更新人
	private String updateUser;
	//多选框是否选中
	@TableField(exist = false)
	private Boolean isCheck;

	/**
	 * 设置：项目
	 */
	public void setFormItemId(Long formItemId) {
		this.formItemId = formItemId;
	}
	/**
	 * 获取：项目
	 */
	public Long getFormItemId() {
		return formItemId;
	}
	/**
	 * 设置：代码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：代码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：描述
	 */
	public void setDesc(String desc) {
		this.desc = desc;
	}
	/**
	 * 获取：描述
	 */
	public String getDesc() {
		return desc;
	}
	/**
	 * 设置：序号
	 */
	public void setIndNo(Integer indNo) {
		this.indNo = indNo;
	}
	/**
	 * 获取：序号
	 */
	public Integer getIndNo() {
		return indNo;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
	/**
	 * 设置：是否默认
	 */
	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}
	/**
	 * 获取：是否默认
	 */
	public Integer getIsDefault() {
		return isDefault;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	/**
	 * 设置：更新人
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * 获取：更新人
	 */
	public String getUpdateUser() {
		return updateUser;
	}

	public Boolean getIsCheck() {
		return isCheck;
	}

	public void setIsCheck(Boolean check) {
		isCheck = check;
	}

	public String getMatchRule() {
		return matchRule;
	}

	public void setMatchRule(String matchRule) {
		this.matchRule = matchRule;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Boolean getCheck() {
		return isCheck;
	}

	public void setCheck(Boolean check) {
		isCheck = check;
	}
}
